\hypertarget{namespacexml__parser}{
\section{Package xml\_\-parser}
\label{namespacexml__parser}\index{xml\_\-parser@{xml\_\-parser}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{namespacexml__parser_a3f0376a0305005f78ad86e5d17a15592}{getText}
\item 
def \hyperlink{namespacexml__parser_a2c9481b59e70e7bd0729c5a43d0613bb}{handleXML}
\item 
def \hyperlink{namespacexml__parser_ae5ce837b717f52097f063702dfaf9541}{handleTables}
\item 
def \hyperlink{namespacexml__parser_a80ed4469bf2c63553addbfe5e4625429}{handleTable}
\item 
def \hyperlink{namespacexml__parser_a385c3a2b2570c71db5d582bbb1489fa8}{handleTableName}
\item 
def \hyperlink{namespacexml__parser_a4b310cc389d5e9e3f24e0b670ef10ad5}{handleTableDescription}
\item 
def \hyperlink{namespacexml__parser_a1da4d48d3c6a56e1cf31b26df2df63ed}{handleTableColumns}
\item 
def \hyperlink{namespacexml__parser_ad10e0368faca51e6f4e320b72f78740a}{handleColumn}
\item 
def \hyperlink{namespacexml__parser_acac187a5e7790805ffc250329bdce781}{handleColumnName}
\item 
def \hyperlink{namespacexml__parser_ae21cdd97ed06f24258773e42a4dad8ab}{handleColumnDescription}
\item 
def \hyperlink{namespacexml__parser_a161c7cb6ccd2df258f4c744459e4f18d}{handleColumnUnit}
\item 
def \hyperlink{namespacexml__parser_ac7fcd72f15cb42bd2e9d81450009ffa3}{handleColumnUCD}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}
Documentation for the xml_parser
Used to parse an XML file, in the format of TAP table metadata XML files

Created on May 17, 2011
Web py University of Edinburgh DSc Masters project
@author: Stelios Voutsinas
\end{DoxyVerb}
 

\subsection{Function Documentation}
\hypertarget{namespacexml__parser_a3f0376a0305005f78ad86e5d17a15592}{
\index{xml\_\-parser@{xml\_\-parser}!getText@{getText}}
\index{getText@{getText}!xml_parser@{xml\_\-parser}}
\subsubsection[{getText}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.getText ( {\em nodelist})}}
\label{namespacexml__parser_a3f0376a0305005f78ad86e5d17a15592}
\begin{DoxyVerb}
getText function

Get the text conent of an xml Node
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_ad10e0368faca51e6f4e320b72f78740a}{
\index{xml\_\-parser@{xml\_\-parser}!handleColumn@{handleColumn}}
\index{handleColumn@{handleColumn}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleColumn}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleColumn ( {\em column})}}
\label{namespacexml__parser_ad10e0368faca51e6f4e320b72f78740a}
\begin{DoxyVerb}
handleColumn function

Handle a column node. Call appropriate function to handle its description, unit and ucd elements   
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_ae21cdd97ed06f24258773e42a4dad8ab}{
\index{xml\_\-parser@{xml\_\-parser}!handleColumnDescription@{handleColumnDescription}}
\index{handleColumnDescription@{handleColumnDescription}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleColumnDescription}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleColumnDescription ( {\em desc})}}
\label{namespacexml__parser_ae21cdd97ed06f24258773e42a4dad8ab}
\begin{DoxyVerb}
handleColumnDescription function

Get the text of a description element and return it as HTML content   
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_acac187a5e7790805ffc250329bdce781}{
\index{xml\_\-parser@{xml\_\-parser}!handleColumnName@{handleColumnName}}
\index{handleColumnName@{handleColumnName}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleColumnName}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleColumnName ( {\em name})}}
\label{namespacexml__parser_acac187a5e7790805ffc250329bdce781}
\begin{DoxyVerb}
handleColumnName function

Get the text for the name of a column       
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_ac7fcd72f15cb42bd2e9d81450009ffa3}{
\index{xml\_\-parser@{xml\_\-parser}!handleColumnUCD@{handleColumnUCD}}
\index{handleColumnUCD@{handleColumnUCD}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleColumnUCD}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleColumnUCD ( {\em ucd})}}
\label{namespacexml__parser_ac7fcd72f15cb42bd2e9d81450009ffa3}
\begin{DoxyVerb}
handleColumnUCD function

Get the text of a ucd element and return it as HTML content   
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_a161c7cb6ccd2df258f4c744459e4f18d}{
\index{xml\_\-parser@{xml\_\-parser}!handleColumnUnit@{handleColumnUnit}}
\index{handleColumnUnit@{handleColumnUnit}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleColumnUnit}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleColumnUnit ( {\em unit})}}
\label{namespacexml__parser_a161c7cb6ccd2df258f4c744459e4f18d}
\begin{DoxyVerb}
handleColumnUnit function

Get the text of a unit element and return it as HTML content   
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_a80ed4469bf2c63553addbfe5e4625429}{
\index{xml\_\-parser@{xml\_\-parser}!handleTable@{handleTable}}
\index{handleTable@{handleTable}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleTable}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleTable ( {\em table})}}
\label{namespacexml__parser_a80ed4469bf2c63553addbfe5e4625429}
\begin{DoxyVerb}
handleTable function

Return HTML content for a table node. Handle its name, description and column elements        
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_a1da4d48d3c6a56e1cf31b26df2df63ed}{
\index{xml\_\-parser@{xml\_\-parser}!handleTableColumns@{handleTableColumns}}
\index{handleTableColumns@{handleTableColumns}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleTableColumns}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleTableColumns ( {\em columns})}}
\label{namespacexml__parser_a1da4d48d3c6a56e1cf31b26df2df63ed}
\begin{DoxyVerb}
handleTableColumn function

Return HTML content containing the information for all column nodes taken as input   
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_a4b310cc389d5e9e3f24e0b670ef10ad5}{
\index{xml\_\-parser@{xml\_\-parser}!handleTableDescription@{handleTableDescription}}
\index{handleTableDescription@{handleTableDescription}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleTableDescription}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleTableDescription ( {\em desc})}}
\label{namespacexml__parser_a4b310cc389d5e9e3f24e0b670ef10ad5}
\begin{DoxyVerb}
handleTableDescription function

Handle a table element's description node   
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_a385c3a2b2570c71db5d582bbb1489fa8}{
\index{xml\_\-parser@{xml\_\-parser}!handleTableName@{handleTableName}}
\index{handleTableName@{handleTableName}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleTableName}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleTableName ( {\em name})}}
\label{namespacexml__parser_a385c3a2b2570c71db5d582bbb1489fa8}
\begin{DoxyVerb}
handleTableName function

Handle a table element's name node   
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_ae5ce837b717f52097f063702dfaf9541}{
\index{xml\_\-parser@{xml\_\-parser}!handleTables@{handleTables}}
\index{handleTables@{handleTables}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleTables}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleTables ( {\em tables})}}
\label{namespacexml__parser_ae5ce837b717f52097f063702dfaf9541}
\begin{DoxyVerb}
handleTables function

Handle each table element from the input list
\end{DoxyVerb}
 \hypertarget{namespacexml__parser_a2c9481b59e70e7bd0729c5a43d0613bb}{
\index{xml\_\-parser@{xml\_\-parser}!handleXML@{handleXML}}
\index{handleXML@{handleXML}!xml_parser@{xml\_\-parser}}
\subsubsection[{handleXML}]{\setlength{\rightskip}{0pt plus 5cm}def xml\_\-parser.handleXML ( {\em xml})}}
\label{namespacexml__parser_a2c9481b59e70e7bd0729c5a43d0613bb}
\begin{DoxyVerb}
handleXML function

Handle an XML document. Specific to certain XML formatted file returned with Table metadata for a TAP endpoint
\end{DoxyVerb}
 